Optimal. Leaf size=85 \[ \frac{6 \sqrt [3]{c+d x} \sin \left (a+b \sqrt [3]{c+d x}\right )}{b^2 d}+\frac{6 \cos \left (a+b \sqrt [3]{c+d x}\right )}{b^3 d}-\frac{3 (c+d x)^{2/3} \cos \left (a+b \sqrt [3]{c+d x}\right )}{b d} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.057381, antiderivative size = 85, normalized size of antiderivative = 1., number of steps used = 4, number of rules used = 3, integrand size = 14, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.214, Rules used = {3361, 3296, 2638} \[ \frac{6 \sqrt [3]{c+d x} \sin \left (a+b \sqrt [3]{c+d x}\right )}{b^2 d}+\frac{6 \cos \left (a+b \sqrt [3]{c+d x}\right )}{b^3 d}-\frac{3 (c+d x)^{2/3} \cos \left (a+b \sqrt [3]{c+d x}\right )}{b d} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 3361
Rule 3296
Rule 2638
Rubi steps
\begin{align*} \int \sin \left (a+b \sqrt [3]{c+d x}\right ) \, dx &=\frac{3 \operatorname{Subst}\left (\int x^2 \sin (a+b x) \, dx,x,\sqrt [3]{c+d x}\right )}{d}\\ &=-\frac{3 (c+d x)^{2/3} \cos \left (a+b \sqrt [3]{c+d x}\right )}{b d}+\frac{6 \operatorname{Subst}\left (\int x \cos (a+b x) \, dx,x,\sqrt [3]{c+d x}\right )}{b d}\\ &=-\frac{3 (c+d x)^{2/3} \cos \left (a+b \sqrt [3]{c+d x}\right )}{b d}+\frac{6 \sqrt [3]{c+d x} \sin \left (a+b \sqrt [3]{c+d x}\right )}{b^2 d}-\frac{6 \operatorname{Subst}\left (\int \sin (a+b x) \, dx,x,\sqrt [3]{c+d x}\right )}{b^2 d}\\ &=\frac{6 \cos \left (a+b \sqrt [3]{c+d x}\right )}{b^3 d}-\frac{3 (c+d x)^{2/3} \cos \left (a+b \sqrt [3]{c+d x}\right )}{b d}+\frac{6 \sqrt [3]{c+d x} \sin \left (a+b \sqrt [3]{c+d x}\right )}{b^2 d}\\ \end{align*}
Mathematica [A] time = 0.107848, size = 65, normalized size = 0.76 \[ \frac{\left (6-3 b^2 (c+d x)^{2/3}\right ) \cos \left (a+b \sqrt [3]{c+d x}\right )+6 b \sqrt [3]{c+d x} \sin \left (a+b \sqrt [3]{c+d x}\right )}{b^3 d} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.009, size = 134, normalized size = 1.6 \begin{align*} 3\,{\frac{- \left ( a+b\sqrt [3]{dx+c} \right ) ^{2}\cos \left ( a+b\sqrt [3]{dx+c} \right ) +2\,\cos \left ( a+b\sqrt [3]{dx+c} \right ) +2\, \left ( a+b\sqrt [3]{dx+c} \right ) \sin \left ( a+b\sqrt [3]{dx+c} \right ) -2\,a \left ( \sin \left ( a+b\sqrt [3]{dx+c} \right ) - \left ( a+b\sqrt [3]{dx+c} \right ) \cos \left ( a+b\sqrt [3]{dx+c} \right ) \right ) -{a}^{2}\cos \left ( a+b\sqrt [3]{dx+c} \right ) }{d{b}^{3}}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A] time = 0.965139, size = 162, normalized size = 1.91 \begin{align*} -\frac{3 \,{\left (a^{2} \cos \left ({\left (d x + c\right )}^{\frac{1}{3}} b + a\right ) - 2 \,{\left ({\left ({\left (d x + c\right )}^{\frac{1}{3}} b + a\right )} \cos \left ({\left (d x + c\right )}^{\frac{1}{3}} b + a\right ) - \sin \left ({\left (d x + c\right )}^{\frac{1}{3}} b + a\right )\right )} a +{\left ({\left ({\left (d x + c\right )}^{\frac{1}{3}} b + a\right )}^{2} - 2\right )} \cos \left ({\left (d x + c\right )}^{\frac{1}{3}} b + a\right ) - 2 \,{\left ({\left (d x + c\right )}^{\frac{1}{3}} b + a\right )} \sin \left ({\left (d x + c\right )}^{\frac{1}{3}} b + a\right )\right )}}{b^{3} d} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 1.70394, size = 155, normalized size = 1.82 \begin{align*} \frac{3 \,{\left (2 \,{\left (d x + c\right )}^{\frac{1}{3}} b \sin \left ({\left (d x + c\right )}^{\frac{1}{3}} b + a\right ) -{\left ({\left (d x + c\right )}^{\frac{2}{3}} b^{2} - 2\right )} \cos \left ({\left (d x + c\right )}^{\frac{1}{3}} b + a\right )\right )}}{b^{3} d} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A] time = 1.51942, size = 95, normalized size = 1.12 \begin{align*} \begin{cases} x \sin{\left (a \right )} & \text{for}\: b = 0 \wedge d = 0 \\x \sin{\left (a + b \sqrt [3]{c} \right )} & \text{for}\: d = 0 \\x \sin{\left (a \right )} & \text{for}\: b = 0 \\- \frac{3 \left (c + d x\right )^{\frac{2}{3}} \cos{\left (a + b \sqrt [3]{c + d x} \right )}}{b d} + \frac{6 \sqrt [3]{c + d x} \sin{\left (a + b \sqrt [3]{c + d x} \right )}}{b^{2} d} + \frac{6 \cos{\left (a + b \sqrt [3]{c + d x} \right )}}{b^{3} d} & \text{otherwise} \end{cases} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A] time = 1.22201, size = 111, normalized size = 1.31 \begin{align*} \frac{3 \,{\left (\frac{2 \,{\left (d x + c\right )}^{\frac{1}{3}} \sin \left ({\left (d x + c\right )}^{\frac{1}{3}} b + a\right )}{b} - \frac{{\left ({\left ({\left (d x + c\right )}^{\frac{1}{3}} b + a\right )}^{2} - 2 \,{\left ({\left (d x + c\right )}^{\frac{1}{3}} b + a\right )} a + a^{2} - 2\right )} \cos \left ({\left (d x + c\right )}^{\frac{1}{3}} b + a\right )}{b^{2}}\right )}}{b d} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]